package com.itheima.day4.Test1;

public class Test {
    public static void main(String[] args) {
        Breeder breeder=new Breeder();
       breeder.breed(new Dog());
       breeder.breed(new Sheep());
       breeder.breed(new Frog());
    }
}
